package edu.zut.software.identity.domain;

import com.sun.istack.Nullable;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name="stu_major")
@Data
public class StuMajor {

    @Id
    @Column
    String id;
    @Column
    String name;
    @Column
    @Nullable
    int wx_id;
    @Column
    int px;
    @Column
    String college_id;
    @Column
    String college_name;

    public String getCollege_name() {
        return college_name;
    }

    public void setCollege_name(String college_name) {
        this.college_name = college_name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getWx_id() {
        return wx_id;
    }

    public void setWx_id(int wx_id) {
        this.wx_id = wx_id;
    }

    public int getPx() {
        return px;
    }

    public void setPx(int px) {
        this.px = px;
    }

    public String getCollege_id() {
        return college_id;
    }

    public void setCollege_id(String college_id) {
        this.college_id = college_id;
    }
}
